package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;


@Table(name="CLUSTER_CONFIG")
public class ClusterConfig extends BaseEntity<Long> {

	private static final long serialVersionUID = -6662638264290606334L;

	@Id
	@Column(name="ID")
	private Long id;
	
	@Column(name="CLUSTER_CODE")
	private String clusterCode;
	
	@Column(name="CLUSTER_NAME")
	private String clusterName;
	
	@Column(name="CLUSTER_DESC")
	private String clusterDesc;

	@Column(name="API_SERVER_URL")
	private String apiServerUrl;
	
	@Column(name="MONITOR_URL")
	private String monitorUrl;
	
	@Column(name="DISTRIBUTED_WEB_URL")
	private String distributedWebUrl;
	
	@Column(name="TENGINE_CLUSTER_CODE")
	private String tengineClusterCode;
	
	@Column(name="STATE")
	private String state;

	@Column(name="CREATE_USER_ID")
	private Long createUserId;
	
	@Column(name="CREATE_TIME")
	private String createTime;
	
	
	@Override
	public Long getId() {
		return id;
	}

	@Override
	public void setId(Long id) {
		this.id = id;
	}

	public String getClusterName() {
		return clusterName;
	}

	public void setClusterName(String clusterName) {
		this.clusterName = clusterName;
	}

	public String getClusterDesc() {
		return clusterDesc;
	}

	public void setClusterDesc(String clusterDesc) {
		this.clusterDesc = clusterDesc;
	}


	public String getMonitorUrl() {
		return monitorUrl;
	}

	public void setMonitorUrl(String monitorUrl) {
		this.monitorUrl = monitorUrl;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getClusterCode() {
		return clusterCode;
	}

	public void setClusterCode(String clusterCode) {
		this.clusterCode = clusterCode;
	}

	public String getApiServerUrl() {
		return apiServerUrl;
	}

	public void setApiServerUrl(String apiServerUrl) {
		this.apiServerUrl = apiServerUrl;
	}

	public String getTengineClusterCode() {
		return tengineClusterCode;
	}

	public void setTengineClusterCode(String tengineClusterCode) {
		this.tengineClusterCode = tengineClusterCode;
	}

	public String getDistributedWebUrl() {
		return distributedWebUrl;
	}

	public void setDistributedWebUrl(String distributedWebUrl) {
		this.distributedWebUrl = distributedWebUrl;
	}

	
}
